package com.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crm.entity.Netfollows;
import com.crm.mapper.NetfollowsMapper;
import com.crm.service.NetfollowsService;

@Service
public class NetfollowsServiceImpl implements NetfollowsService {
	
	@Autowired
	private NetfollowsMapper netfollowsMapper;

	@Override
	public List<Netfollows> selectAll(Integer limit, Integer setValue, String userid, String stduentname, String followtime, String endDate,
			String followstate) {
		// TODO Auto-generated method stub
		return netfollowsMapper.selectAll(limit, setValue, userid, stduentname, followtime, endDate, followstate);
	}

	@Override
	public int getCount(String userid, String stduentname, String followtime, String endDate, String followstate) {
		// TODO Auto-generated method stub
		return netfollowsMapper.getCount(userid, stduentname, followtime, endDate, followstate);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return netfollowsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Netfollows record) {
		// TODO Auto-generated method stub
		return netfollowsMapper.insert(record);
	}

	@Override
	public Netfollows selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return netfollowsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int update(Netfollows record) {
		// TODO Auto-generated method stub
		return netfollowsMapper.update(record);
	}

}
